//index.js
//获取应用实例
const app = getApp()

Page({

  data: {
    //顶部轮播图
    imgUrls: [
      'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/伍六七_梅士三_01.jpg',
      'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/伍六七_02.jpg',
      'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/梅花十三_01.jpg'
    ],
    //第二部分数据数组
    contentImgUrls: [{
        id: '001',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/伍六七_梅士三_04.jpg'
      }, {
        id: '002',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/伍六七_梅士三_03.jpg'
      }, {
        id: '003',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/伍六七_梅士三_02.jpg'
      }, {
        id: '004',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/伍六七_19.jpg'
      }, {
        id: '005',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/伍六七_18.jpg'
      }, {
        id: '006',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/伍六七_17.jpg'
      },{
        id: '007',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/伍六七_16.jpg'
      }, {
        id: '008',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/梅花十三_04.jpg'
      }, {
        id: '009',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/伍六七_15.jpg'
      }, {
        id: '010',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/梅花十三_03.jpg'
      }, {
        id: '011',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/伍六七_14.jpg'
      }, {
        id: '012',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/梅花十三_02.jpg'
      }, {
        id: '013',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/伍六七_12.jpg'
      }, {
        id: '014',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/梅花十三_05.jpg'
      }, {
        id: '015',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/大宝_01.jpg'
      }, {
        id: '016',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/大宝_伍六七.jpg'
      }, {
        id: '017',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/伍六七_13.jpg'
      }, {
        id: '018',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/江主任.jpg'
      }, {
        id: '019',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/伍六七_05.jpg'
      }, {
        id: '020',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/梅花十三_06.jpg'
      }, {
        id: '021',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/伍六七_09.jpg'
      }, {
        id: '022',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/伍六七_06.jpg'
      }, {
        id: '023',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/伍六七_04.jpg'
      }, {
        id: '024',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/伍六七_07.jpg'
      }, {
        id: '025',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/伍六七_03.jpg'
      }, {
        id: '026',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/伍六七_10.jpg'
      }, {
        id: '027',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/伍六七_15.jpg'
      }, {
        id: '028',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/伍六七_08.jpg'
      }, {
        id: '029',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/伍六七_11.jpg'
      }, {
        id: '030',
        title: '',
        url: 'cloud://wqz-001-8vh1j.7771-wqz-001-8vh1j-1301063888/刺客伍六七/梅士三_02.jpg'
      }



    ],

    indicatorDots: true, //显示面板显示点
    autoplay: true, //自动切换
    interval: 3000, //切换时间
    duration: 1000 //动画时长
  },


  //到天气查询页
  toWeatherQuery: function(e) {
    console.log("城市名称" + this.data.cityName2 + "名称" + this.data.userName)
    wx.navigateTo({
      url: '../../weather/weather'
    })
  },
  toyuxiang: function(e) {
    wx.navigateTo({
      url: '../yuxiang/yuxiang'
    })
  },
  toHeroMemories: function(e) {
    wx.navigateTo({
      url: '../HeroMemories/HeroMemories'
    })
  },
  to_001: function(e) {
    wx.navigateTo({
      url: '../yuxiang/yuxiang'
    })
  },
  to_002: function(e) {
    wx.navigateTo({
      url: '../yuxiang/yuxiang'
    })
  },
  to_003: function(e) {
    wx.navigateTo({
      url: '../yuxiang/yuxiang'
    })
  },
  to_004: function(e) {
    wx.navigateTo({
      url: '../yuxiang/yuxiang'
    })
  },
  to_005: function(e) {
    wx.navigateTo({
      url: '../yuxiang/yuxiang'
    })
  },
  to_006: function(e) {
    wx.navigateTo({
      url: '../yuxiang/yuxiang'
    })
  },


})